<!DOCTYPE html>
<html lang="en" class="app">
<head>
  <meta charset="utf-8" />
  <title>会员管理系统</title>
  <meta name="description" content="{$config.desc}" />
  <meta name="Keywords" content="{$config.keywords}" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <link rel="stylesheet" href="__PUBLIC__/home/css/app.v2.css" type="text/css" />
  <link rel="stylesheet" href="__PUBLIC__/home/js/calendar/bootstrap_calendar.css" type="text/css" cache="false" />
  <!-- <link href="__PUBLIC__/home/css/style.css" rel="stylesheet"> -->
  <!-- <link href="__PUBLIC__/home/css/style-responsive.css" rel="stylesheet"> -->
  <!-- <link href="__PUBLIC__/home/css/bootstrap.min.css" rel="stylesheet"> -->
  <!--[if lt IE 9]> <script src="js/ie/html5shiv.js" cache="false"></script> <script src="js/ie/respond.min.js" cache="false"></script> <script src="js/ie/excanvas.js" cache="false"></script> <![endif]-->
</head>
<style type="text/css">

.bg-dark.dk, .bg-dark .dk,.bg-dark.dker, .bg-dark .dker{
  background: #4cc1c0!important;
}
.navbar-nav>li>.dropdown-menu{
  background: #4cc1c0!important;
}
.bg-dark .nav>li>a:hover,.bg-dark .nav .open>a{
  background: rgba(0,0,0,.5)!important
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus{
  background: rgba(0,0,0,.5)!important
}
.rld_10_25 .active_a{
  color: #fff!important
}
</style>
<body>
  <section class="vbox">
    <header class="bg-dark dk header navbar navbar-fixed-top-xs" style="background:#4cc1c0 ">
      <div class="navbar-header aside-md">
       <a class="btn btn-link visible-xs" data-toggle="class:nav-off-screen" data-target="#nav">
        <i class="fa fa-bars"></i>
      </a>
      <a href="#" class="navbar-brand" data-toggle="fullscreen" style="color: #fff">
        <img src="{$config.log_pic}" class="m-r-sm">会员管理系统
      </a>
      <a class="btn btn-link visible-xs" data-toggle="dropdown" data-target=".nav-user"> <i class="fa fa-cog"></i> </a> </div>
      <ul class="nav navbar-nav hidden-xs">
        <li class="dropdown"> <!-- <a href="#" class="dropdown-toggle dker" data-toggle="dropdown"> <i class="fa fa-building-o"></i> <span class="font-bold">账户余额</span> </a> -->
          <section class="dropdown-menu aside-xl on animated fadeInLeft no-borders lt">
            <div class="wrapper lter m-t-n-xs"> <a style="color: #fff" href="#" class="thumb pull-left m-r"> <img src="{$member['pic']}" class="img-circle"> </a>
              <div class="clear"> <a href="#"><span class="text-white font-bold">@{$usename}</a></span> <small class="block">{$level.name}</small> <a href="{:U('pay/shengji')}" class="btn btn-xs btn-success m-t-xs">升级</a> </div>
            </div>
            <div class="row m-l-none m-r-none m-b-n-xs text-center">
              <div class="col-xs-4">
                <div class="padder-v"> 
                  <a class="more" href="{:U('Finance/index',array('id'=>1))}">
                    <span class="m-b-xs h4 block text-white">{$arr[1]['num']}</span> <small class="text-muted">{$arr[1]['name']}</small> 
                  </a>
                </div>
              </div>
              <div class="col-xs-4 dk">
                <div class="padder-v">
                  <a href="{:U('Finance/index',array('id'=>1))}">
                    <span class="m-b-xs h4 block text-white"> {$arr[2]['num']}</span> <small class="text-muted">{$arr[2]['name']}</small> 
                  </a>
                </div>
              </div>
              <div class="col-xs-4">
                <div class="padder-v"> 
                  <a href="{:U('Member/xipu',array('member_id'=>$member['member_id']))}"><span class="m-b-xs h4 block text-white">{$member.zhitui_num}</span> <small class="text-muted"> 直推人数</small> 
                  </a>
                </div>
              </div>
            </div>
          </section>
        </li>
        <li>
          <!-- <div class="m-t m-l"> <a href="{:U('pay/shengji')}" class="dropdown-toggle btn btn-xs btn-primary" title="Upgrade"><i class="fa fa-long-arrow-up"></i></a> </div> -->
        </li>
      </ul>
      <ul class="nav navbar-nav navbar-right hidden-xs nav-user">
        <li class="hidden-xs"> <a style="color: #fff"  href="#" class="dropdown-toggle dk" data-toggle="dropdown"> <i class="fa fa-bell"></i> <span class="badge badge-sm up bg-danger m-l-n-sm ">{$count}</span> </a>
          <section class="dropdown-menu aside-xl">
            <section class="panel bg-white">
              <header class="panel-heading b-light bg-light"> <strong>你有 <span >{$count}</span>条新邮件</strong> </header>
              <div class=" list-group-alt animated fadeInRight"> 
               <a  href="{:U('Mail/index')}" class="media list-group-item">

                <empty name="message">


                 <else/>
                 <foreach name="message" item="vv">
                   <span class="pull-left thumb-sm text-center">
                    <i class="fa fa-envelope-o fa-2x text-success"></i>
                  </span>
                  <span class="media-body block m-b-none">
                    {$vv['f_name']} 发来一封邮件<br>
                    <small class="text-muted">{$vv.add_time|date="Y-m-d H:i:s",###}</small>
                  </span>
                </foreach>
              </empty>

            </a>
          </div>
          <footer  class="panel-footer text-sm"> <a href="#" style="color: #fff"ss class="pull-right"><i class="fa fa-cog"></i></a> <a href="#notes" data-toggle="class:show animated fadeInRight">See all the notifications</a> </footer>
        </section>
      </section>
    </li>
    <li class="dropdown hidden-xs"> <a href="#" style="color: #fff" class="dropdown-toggle dker" data-toggle="dropdown"><i class="fa fa-fw fa-search"></i></a>
      <section class="dropdown-menu aside-xl animated fadeInUp">
        <section class="panel bg-white">
          <form role="" action="{:U('Index/sousuo')}">
            <div class="form-group wrapper m-b-none">
              <div class="input-group">
                <input type="text" class="form-control" name="name" placeholder="快捷搜索" >
                <span class="input-group-btn">
                  <button type="submit" class="btn btn-info btn-icon" ><i class="fa fa-search"></i></button>
                </span> 
              </div>
            </div>
          </form>
        </section>
      </section>
    </li>
    <li class="dropdown"> <a href="#" style="color: #fff" class="dropdown-toggle" data-toggle="dropdown"> <span class="thumb-sm avatar pull-left"> <img src="{$member['pic']}"> </span> {$usename} <b class="caret"></b> </a>
      <ul class="dropdown-menu animated fadeInRight">
        <span class="arrow top"></span>
        <li> 
          <a style="color: #fff" href="{:U('Home/User/index')}">我的个人资料</a> 
        </li>

        <li> 
          <a style="color: #fff"  href="{:U('Home/Mail/index')}"> <span class="badge bg-danger pull-right">{$myMessageNum}</span> 收件箱 </a> 
        </li>
        <li class="divider"></li> <!-- 这是横线 -->
        <li> <a style="color: #fff" href="{:U('Login/loginOut')}" >注销</a> </li>
      </ul>
    </li>
  </ul>
</header>
<section>
  <section class="hbox stretch"> <!-- .aside -->
    <aside class="bg-dark lter aside-md hidden-print" style="background: #4cc1c0" id="nav">
      <section class="vbox">
        <section class="w-f scrollable">
          <div class="slim-scroll rld_10_25" data-height="auto" data-disable-fade-out="true" data-distance="0" data-size="5px" data-color="#333333"> <!-- nav -->
            <nav class="nav-primary hidden-xs">
              <ul class="nav">
                <li class="active">
                  <a href="{:U("Index/index")}" class="active active_a"> <i class="fa fa-dashboard icon"> <b class="bg-danger"></b> </i> <span>首页</span> </a> 
                </li>
                <li >
                  <a href="#layout" class="active_a"> <i class="fa fa-male icon"> <b class="bg-warning"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> <i class="fa fa-angle-up text-active"></i> </span> <span>个人资料</span> </a>
                  <ul class="nav lt">
                    <li > <a class="active_a" href="{:U('Home/User/index')}" > <i class="fa fa-angle-right"></i> <span>会员资料</span> </a> 
                    </li>
                    <li > <a class="active_a" href="{:U('Home/User/revise_massage')}" > <i class="fa fa-angle-right"></i> <span>修改资料</span> </a> </li>
                    <li > <a class="active_a" href="{:U('Home/User/revise_password')}" > <i class="fa fa-angle-right"></i> <span>修改密码</span> </a> </li>
                  </ul>
                </li>
                <li > <a  class="active_a"href="#uikit" > <i class="fa fa-credit-card icon"> <b class="bg-success"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> <i class="fa fa-angle-up text-active"></i> </span> <span>财务中心</span> </a>
                  <ul class="nav lt">


                    <li > <a class="active_a" href="{:U('Finance/index')}" > <i class="fa fa-angle-right"></i> <span>奖金明细</span> </a> </li>

                    <li > <a class="active_a" href="{:U('Home/Pay/transfer')}" > <i class="fa fa-angle-right"></i> <span>钱包转账</span> </a> </li>


                    <li > <a href="{:U('Pay/currency_conversion')}">  <i class="fa fa-angle-right"></i> <span>货币转换</span> </a> </li>


                    <li > <a class="active_a" href="{:U('Money/withdraw')}" > <i class="fa fa-angle-right"></i> <span>奖金提现</span> </a> </li>


                    <li > <a class="active_a" href="{:U('Money/chongzhi')}" > <i class="fa fa-angle-right"></i> <span>充值</span> </a> </li>
                  </ul>
                </li>


                <li > <a class="active_a" href="#pages" > <i class="fa fa-sitemap icon"> <b class="bg-info"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> <i class="fa fa-angle-up text-active"></i> </span> <span>团队管理</span> </a>
                  <ul class="nav lt">

                    <li > <a class="active_a" href="{:U('Home/Reg/index')}" > <i class="fa fa-angle-right"></i> <span>会员注册</span> </a> </li>

                    <li > <a class="active_a" href="{:U('pay/activation')}" > <i class="fa fa-angle-right"></i> <span>会员激活</span> </a> </li>

                        <!--<eq name="sess.level" value="5">
                          
                        <else/>
                          <li > <a href="{:U('Member/jiegou')}" > <i class="fa fa-angle-right"></i> <span>结构图</span> </a> </li>
                        </eq>

                        <li > <a href="{:U('pay/shengji')}" > <i class="fa fa-angle-right"></i> <span>会员升级</span> </a> </li>-->


                        <li > <a class="active_a" href="{:U('Member/xipu')}" > <i class="fa fa-angle-right"></i> <span>直推图</span> </a> </li>
                      </ul>
                    </li>



                  <!--<li > <a href="#pages" > <i class="fa fa-file-text icon"> <b class="bg-danger"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> <i class="fa fa-angle-up text-active"></i> </span> <span>商城</span> </a>
                    <ul class="nav lt">

                      <li > <a href="{:U('Goods/index')}" > <i class="fa fa-angle-right"></i> <span>商城入口</span> </a> </li>
                    </ul>
                  </li>



                  <li > <a href="#pages" > <i class="fa fa-file-text icon"> <b class="bg-danger"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> <i class="fa fa-angle-up text-active"></i> </span> <span>收货地址及订单管理</span> </a>
                    <ul class="nav lt">
                      <li > 
                        <a href="{:U('Address/index')}" > 
                          <i class="fa fa-angle-right"></i> 
                          <span>收货地址</span> 
                        </a> 
                      </li>
                      <li > 
                        <a href="{:U('Goods/goods_user_list')}" > 
                          <i class="fa fa-angle-right"></i> 
                          <span>订单管理</span> 
                        </a> 
                      </li>
                    </ul>

                  </li> -->


                  <li > <a class="active_a" href="#pages" > <i class="fa fa-envelope-o icon"> <b class="bg-info2"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> <i class="fa fa-angle-up text-active"></i> </span> <span>留言中心</span> </a>
                    <ul class="nav lt">


                      <li > <a class="active_a" href="{:U('Mail/index')}" > <i class="fa fa-angle-right"></i> <span>邮信箱</span> </a> </li>
                    </ul>
                  </li> 


                  <li > <a class="active_a" href="{:U('Login/loginOut')}" > <i class="fa fa-sign-in icon"> <b class="bg-primary"></b> </i> <span class="pull-right"> <i class="fa fa-angle-down text"></i> </span> <span>安全退出</span> </a>

                  </li>
                  
                </ul>
              </nav>
              <!-- / nav --> </div>
            </section>
            <footer style="background:#4cc1c0 " class="footer lt hidden-xs b-t b-dark">
              <div id="chat" class="dropup">
                <section class="dropdown-menu on aside-md m-l-n">
                  <section class="panel bg-white">
                    <header class="panel-heading b-b b-light">Active chats</header>
                    <div class="panel-body animated fadeInRight">
                      <p class="text-sm">No active chats.</p>
                      <p><a href="#" class="btn btn-sm btn-default">Start a chat</a></p>
                    </div>
                  </section>
                </section>
              </div>
              <div id="invite" class="dropup">
                <section class="dropdown-menu on aside-md m-l-n">
                  <section class="panel bg-white">
                    <header class="panel-heading b-b b-light"> John <i class="fa fa-circle text-success"></i> </header>
                    <div class="panel-body animated fadeInRight">
                      <p class="text-sm">No contacts in your lists.</p>
                      <p><a href="#" class="btn btn-sm btn-facebook"><i class="fa fa-fw fa-facebook"></i> Invite from Facebook</a></p>
                    </div>
                  </section>
                </section>
              </div>
              <a href="#nav" data-toggle="class:nav-xs" class="pull-right btn btn-sm btn-dark btn-icon"> <i class="fa fa-angle-left text"></i> <i class="fa fa-angle-right text-active"></i> </a>
              <div class="btn-group hidden-nav-xs">
                <button type="button" title="Chats" class="btn btn-icon btn-sm btn-dark" data-toggle="dropdown" data-target="#chat"><i class="fa fa-comment-o"></i></button>
                <button type="button" title="Contacts" class="btn btn-icon btn-sm btn-dark" data-toggle="dropdown" data-target="#invite"><i class="fa fa-facebook"></i></button>
              </div>
            </footer>
          </section>
        </aside> 






